package ch.wsl.postgres2mapperdao.common

/**
 * 
 * Postgres2mapperdao
 * 
 * @author Andrea Minetti
 *
 * 21 Sep 2012
 * 
 */

object TypeMapping {
	
  val postgres2scala = Map(
		  "integer" -> "Int",
		  "character varying" -> "String",
		  "smallint" -> "Int",
		  "bigint" -> "Int",
		  "double precision" -> "Double",
		  "timestamp without time zone" -> "DateTime",
		  "date" -> "DateTime",
		  "real" -> "Double",
		  "boolean" -> "Boolean",
		  "bytea" -> "Array[Byte]",
		  "numeric" -> "Double"
  )
  
}